package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.ATabbar;
import com.ruoyi.system.service.IATabbarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 自定义小程序tabbarController
 *
 * @author 原清隆
 * @date 2024-06-04
 */
@RestController
@RequestMapping("/xcx/tabbar")
public class XcxATabbar extends BaseController {

    @Autowired
    private IATabbarService aTabbarService;

    /**
     * 查询自定义小程序tabbar列表
     */
    @GetMapping("/list")
    public AjaxResult list(ATabbar aTabbar)
    {
        return success(aTabbarService.selectATabbarXcxList(aTabbar));
    }
}
